// package com.jungle.sp.daily.service;
//
// import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
// import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
// import software.amazon.awssdk.regions.Region;
// import software.amazon.awssdk.services.sns.SnsClient;
// import software.amazon.awssdk.services.sns.model.PublishRequest;
// import software.amazon.awssdk.services.sns.model.PublishResponse;
// public class SnsSmsService {
//
//     private final SnsClient snsClient;
//
//     public SnsSmsService(String accessKey, String secretKey, String region) {
//         snsClient = SnsClient.builder()
//                 .credentialsProvider(StaticCredentialsProvider.create(
//                         AwsBasicCredentials.create(accessKey, secretKey)))
//                 .region(Region.of(region))
//                 .build();
//     }
//
//     public String sendSms(String phoneNumber, String message) {
//         PublishRequest request = PublishRequest.builder()
//                 .message(message)
//                 .phoneNumber(phoneNumber)
//                 .build();
//
//         PublishResponse response = snsClient.publish(request);
//         return response.messageId();
//     }
// }
